[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SETTING THE RECORD
The unit includes a procedure Menu_Set that can be used to set a menu
record variable to the Toolkit's default values, e.g. the menu will be
a single column, box type 5 centered on the screen. A good programming
practice is to first call Menu_Set to set the default values, then
modify specific elements of the record as necessary.
Note: If the Menu_Set procedure is not called, make sure that the Hook
record is set to a valid hook procedure, or the No_Hook procedure
included in the unit, e.g.
MYMENU.HOOK := NO_HOOK {V5.0}
or
HOOK := @NO_HOOK {V4.0}
Failure to do this will cause the system to hang!!!
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson